package org.argus.job.server.system.management.mapper;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import org.apache.ibatis.annotations.Param;
import org.argus.job.server.system.domain.AppInfo;

import java.util.List;

/**
* @author Administrator
* @description 针对表【sys_app_info(业务应用表)】的数据库操作Mapper
* @createDate 2024-07-16 21:32:05
* @Entity generator.domain.AppInfo
*/
public interface AppInfoMapper extends BaseMapper<AppInfo> {

    int getDuplicateCount(@Param("appInfo") AppInfo appInfo);

    void updateAppInfo(@Param("appInfo") AppInfo appInfo);

    List<AppInfo> getNormalApps();

    List<Long> listAppIdByCurrentServer(@Param("host") String serverAddress);
}




